﻿<Window x:Class="GUI.Custom_Classes.CreateCons"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="LEET - Create New Consequence"
        Height="272" Width="700"
        BorderThickness="2"
        ResizeMode="NoResize"
        AllowDrop="True">

    <Grid>
        <StackPanel Background="WhiteSmoke">

            <DockPanel DockPanel.Dock="Top" Width="674" Height="38" Margin="0,5,0,0">
                <Label Content="Consequence Name: " Height="28" Width="120" HorizontalAlignment="Left" Name="conName" Margin="5,0,0,0" />
                <TextBox Height="28" HorizontalAlignment="Left" Name="nameBox" Width="400" Margin="10,0,0,0" />
            </DockPanel>

            <DockPanel DockPanel.Dock="Top" Width="674" Height="38" Margin="0,5,0,0">
                <Label Content="Fatality Level: " Height="28" Width="100" HorizontalAlignment="Left" Name="preTarget" Margin="5,0,0,0" />
                <ComboBox Name="Fatality" Margin="10,5,0,5" Height="24" Width="Auto" HorizontalAlignment="Left" >
                    <ComboBoxItem Selector.IsSelected="True" >--Select Fatality Level--</ComboBoxItem>
                    <ComboBoxItem>Fatal</ComboBoxItem>
                    <ComboBoxItem>Nonfatal</ComboBoxItem>
                </ComboBox>
            </DockPanel>

            <DockPanel DockPanel.Dock="Top" Width="674" Height="90" Margin="0,5,0,0">
                <StackPanel Orientation="Horizontal">
                    <Label Name="ConsequenceLabel" BorderThickness="0">Error Text:</Label>
                        <TextBox Name="ConsequenceText"
                                 ScrollViewer.HorizontalScrollBarVisibility="Auto"
                                 ScrollViewer.VerticalScrollBarVisibility="Auto"
                                 TextWrapping="WrapWithOverflow"
                                 Margin="9,3,0,3" MinWidth="482" MinHeight="80" MaxWidth="482" MaxHeight="80">
                        </TextBox>
                </StackPanel>
            </DockPanel>

            <DockPanel HorizontalAlignment="Center">
                <StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Center" Height="38" Margin="0,5,0,5">
                    <Button Height="23" Name="createButton" Width="75" Click="createAction" Margin="0,0,5,0">Create</Button>
                    <Button Height="23" Name="cancelButton" Width="75" Click="cancel_Button" Margin="5,0,5,0">Cancel</Button>
                </StackPanel>
            </DockPanel>
        
        </StackPanel>
    </Grid>
</Window>
